package com.pactera.wh.resource.rest;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *
 * </p>
 *
 * @author chang.zhou
 * @version $
 * @date Created in 2020/9/10 17:31
 */
@RestController
public class IndexController {

    @GetMapping("/index")
    public String index(){
        return "index";
    }

    @GetMapping("/admin/index")
    public String admin(){
        return "admin";
    }
}
